package net.yla.smartbus.module.ba.right.menu.query;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Date: 2020-08-19 17:16
 * @Author: Being Nobody
 * @Version: 1.0
 */
@Data
public class MenusOfQuery implements Serializable {
    @NotNull(message = "父级菜单ID为空")
    private Integer parent;
    @NotNull(message = "系统类型为空")
    private Integer type;
    private Boolean descendant;
    private Integer offset;
    private Integer count;
    private List<String> fields;
    private List<String> sort;
    private List<Integer> order;
    private Integer visible;
}